package me.shiqiang.im.repository;

import me.shiqiang.im.domain.PremiumServicePlatformChange;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by John on 2018/7/25
 */
//@Repository
public interface PremiumServicePlatformChangeDao  extends CrudRepository<PremiumServicePlatformChange, Long> {
    boolean existsByPlatformIdAndConsumed(Long platformId, Integer consumed);
}
